home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-05-26 | 4.9 KB | 151 lines | [TEXT/ttxt] |
- UPS Monitor 1.52
- written by Yair Elharrar, April 1994
-
-
-
- UPS Monitor is a small hack, used to determine the status of a
- serial-connected UPS. Many UPSes come with a DB-9 serial port, which serves
- as a status line.
-
- You can connect the UPS to either the modem or printer port, but be sure to
- wire the cable according to your needs. The Mains Fail Relay should be wired
- to the TxD-/RxD- pins on the Mac serial port and the Battery Low Relay should
- be wired to the HSKi/Ground pins on the Mac serial port (i.e. if the power
- fails, the TxD- and RxD- pins should contact etc.).
- You can use Normally-Closed relays if your UPS supports them. This is useful
- to test if the wire is broken etc.
- If you choose the Normally-Closed Power Fail option, wire your cable so that
- when the power fails the TxD- and RxD- pins should DISCONNECT. The same goes
- for the Battery Low relays.
-
-
- --
- To connect a TENSOR T-106B UPS, use the following wiring scheme:
-
- Pin on Mac Serial Port Pin on UPS
- 3 2
- 5 7
- 2 5
- 4 8
-
- With this wiring, both relays are normally closed.
-
- --
- To connect a APC-400 UPS, use the following wiring scheme:
-
- Pin on Mac serial Port Pin on UPS
- 3 4
- 5 6
-
- Only the power failure relay is connected, and it's normally closed.
- With this wiring, use the timed automatic shutdown.
-
- --
- See below for help on wiring other types of UPSes.
- --
-
- UPS Monitor sends status requests to the UPS, notifies you if the system is
- on battery power, and shuts down your Mac automatically after a specified
- period of time. You can disable the automatic shutdown or the battery alert,
- and change the status request rate (default is one every 15 seconds).
-
- After connecting the UPS to your Mac, run UPS Monitor and choose
- "Configure" from the menu. Configure it according to your needs and click
- OK. Put UPS Monitor in your "Startup Items" folder in the System Folder.
-
- Suggested configuration: no automatic shutdown, 15 seconds scan interval,
- Logfile on, Shutdown on Battery Low on.
-
- Use UPSMon in conjunction with Okey-Dokey, available on sumex, to automatically
- push the OK button in all your applications when you shut down -- this will
- save all your documents...
-
-
- UPS Monitor has been thoroughly tested on a IIci, a IIcx, and a Classic II, all
- running System 7.1. Users reported this version works on PowerMacs and Quadras
- just as well.
-
-
- Changes since version 1.5
- -------------------------
-
- * Version 1.51 fixes a minor bug on extra-loaded systems. UPSMon 1.5 couldn't
- handle more than 10 CTB ports; 1.51 is preconfigured to 15 ports and can be
- configured to more ports, just change STR resource #131 with ResEdit.
- If you open UPSMon and it just beeps and quit, check the log file created.
- * Version 1.52 fixes another minor bug which caused popup menu items to be dimmed.
- * UPSMon now requires a 68020, and runs nicely on PowerMacs, under emulation.
-
- Changes since version 1.4
- -------------------------
-
- * Added support for external serial ports, with peripheral cards such as
- QuadraLink or Hurdler. In general, UPS Monitor is CTB-aware and will recognize
- all CTB serial ports, including virtual ports defined with PortConnector.
- All you have to do is select the right port from the pop-up menu in the
- Configuration dialog, just like in ZTerm.
- * Fixed a bug with the dates.
- * Converted date translation to support international date formats. Dates will
- now appear the same way they do in the Date&Time control panel.
-
- Changes since version 1.3
- -------------------------
-
- * Dialog box redesigned to avoid confusion.
- * Alert option removed.
- * Added variable serial driver support.
-
- Changes since version 1.2
- -------------------------
-
- * Fixed a few bugs: "File" menu stayed highlighted after configuring, the
- baud setting always defaulted to 2400 baud, the Select Logfile button
- didn't work.
- * Added a full VERS resource.
- * Changed the main GetNextEvent call to WaitNextEvent, thus making UPSMon
- less CPU intensive.
- * Added an option to monitor normally closed relay contacts.
-
-
- Changes since version 1.1
- -------------------------
-
- * Added Log file option.
- * Added Modem/Printer port selection.
- * Added "Battery Low" mode support.
-
-
- Changes since version 1.0
- -------------------------
-
- * Fixed a bug that caused UPS Monitor to refuse to quit when shutting down
- or restarting.
- * Added AppleEvent QUIT support.
- * Changed the menu title to "File" instead of "Monitor" to help system 6
- users quit UPS Monitor automatically.
-
-
-
- Comments, bug reports etc. - send email to
-
- Internet: yair@tamar.cc.biu.ac.il
-
- or
-
- Fax: (Intl.) 972-3-6735203
-
- If you need help on how to wire the cable, send me the wiring scheme of
- your UPS's port via e-mail or Fax.
-
- UPS Monitor is shareware and may be freely distributed as long as no
- modifications are made and this text file is included. If you decide to
- keep it, please send a donation of $15 to:
-
- Yair Elharrar
- 71 Krinitzi st.
- Ramat-Gan 52423
- Israel
-
-
- Portions of this program Copyright ©1986 THINK Technologies, Inc.
-